package com.mark.util;

import lombok.extern.slf4j.Slf4j;

/**
 * Created by Mark on 2018/4/9.
 * AOP工具类
 */
@Slf4j
public class AopUtil {

    public void before(){
        log.info("----开始执行业务方法----");
    }

    public void afterThrowing(){
        log.error("----业务逻辑出现了异常----");
    }

    public void afterReturning() {
        log.info("----执行业务方法完毕----");
    }

}
